/* 弹窗背景遮罩 */  
.custom-modal .modal-overlay {  
    position: fixed;  
    top: 0;  
    left: 0;  
    width: 100%;  
    height: 100%;  
    background: rgba(0, 0, 0, 0.6);  
    display: flex;  
    justify-content: center;  
    align-items: center;  
    z-index: 9999;  
  }  
  
  /* 弹窗主体 */  
  .custom-modal .modal {  
    background: #ffffff;  
    padding: 20px 25px;  
    border-radius: 8px;  
    width: 90%;  
    max-width: 1000px;  
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);  
    color: #333;  
    font-family: 'Arial', sans-serif;  
  }  
  
  /* 弹窗标题 */  
  .custom-modal .modal-header {  
    display: flex;  
    justify-content: space-between;  
    align-items: center;  
    border-bottom: 1px solid #ddd;  
    margin-bottom: 15px;  
  }  
  
  .custom-modal .modal-header h3 {  
    font-size: 1.6rem;  
    color: #008cba;  
    margin: 0;  
  }  
  
  .custom-modal .modal-header .close-btn {  
    background: none;  
    border: none;  
    font-size: 1.2rem;  
    font-weight: bold;  
    color: #666;  
    cursor: pointer;  
  }  
  
  .custom-modal .modal-header .close-btn:hover {  
    color: #008cba;  
  }  
  
  /* 基本信息和输入框 */  
  .custom-modal .form-row {  
    display: flex;  
    gap: 15px;  
    margin-bottom: 15px;  
  }  
  
  .custom-modal .form-input {  
    flex: 1;  
    padding: 10px;  
    border: 1px solid #ccc;  
    border-radius: 4px;  
    background: #f9f9f9;  
    color: #333;  
  }  
  
  .custom-modal .form-input:focus {  
    border-color: #008cba;  
    outline: none;  
  }  
  
  /* 表格区域布局 */  
  .custom-modal .tables {  
    display: flex;  
    gap: 15px;  
  }  
  
  /* 左表和右表 */  
  .custom-modal .table-section {  
    flex: 1;  
    background: #f9f9f9;  
    padding: 15px;  
    border-radius: 8px;  
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);  
  }  
  
  .custom-modal .table-header {  
    display: flex;  
    gap: 10px;  
    margin-bottom: 10px;  
    align-items: center;  
  }  
  
  .custom-modal .mini-input {  
    flex: 1;  
    padding: 8px;  
    border: 1px solid #ddd;  
    border-radius: 4px;  
    background: #fff;  
  }  
  
  .custom-modal .mini-input:focus {  
    border-color: #008cba;  
    outline: none;  
  }  
  
  .custom-modal .mini-select {  
    padding: 8px;  
    border: 1px solid #ddd;  
    border-radius: 4px;  
    background: #fff;  
    flex-shrink: 0;  
  }  
  
  .custom-modal .search-btn {  
    padding: 8px 15px;  
    background: #008cba;  
    border: none;  
    color: #fff;  
    font-size: 0.9rem;  
    border-radius: 4px;  
    cursor: pointer;  
    transition: background 0.3s;  
  }  
  
  .custom-modal .search-btn:hover {  
    background: #006b9a;  
  }  
  
  /* 表格样式 */  
  .custom-modal .custom-table {  
    width: 100%;  
    border-collapse: collapse;  
    text-align: left;  
    border-top: 1px solid #ddd;  
    border-left: 1px solid #ddd;  
  }  
  
  .custom-modal .custom-table th,  
  .custom-modal .custom-table td {  
    padding: 10px 8px;  
    border-bottom: 1px solid #ddd;  
    border-right: 1px solid #ddd;  
    background: #fff;  
    color: #333;  
  }  
  
  .custom-modal .custom-table th {  
    background: #333;  
    color: #f9f9f9;  
    font-weight: bold;  
  }  
  
  .custom-modal .custom-table tbody tr:hover {  
    background: #f4f8fc;  
  }  
  
  /* 分页 */  
  .custom-modal .el-pagination {  
    margin-top: 15px;  
    text-align: right;  
  }  
  
  .custom-modal .el-pagination__item,  
  .custom-modal .el-pagination__button {  
    color: #008cba;  
  }  
  
  .custom-modal .el-pagination__item.is-active {  
    background: #008cba;  
    color: #fff;  
  }